# Contributor: Newbyte <newbyte@disroot.org>
# Maintainer: Newbyte <newbyte@disroot.org>
pkgname=py3-plyer
pkgver=2.1.0
pkgrel=2
pkgdesc="Platform-independent wrapper for platform-dependent APIs"
url="https://plyer.readthedocs.io/en/latest"
arch="noarch"
license="MIT"
depends="python3"
options="!check" # no tests?
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/p/plyer/plyer-$pkgver.tar.gz"
builddir="$srcdir/plyer-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
000ec0331cbb605ada36a5f0276482a62d827a41570e71e977b4dabd1b495e71f849dbdc4f025a2b71c3ccee62e456f9d9c8b880c4bcde31f643c29c03e6a4ce  plyer-2.1.0.tar.gz
"
